﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MDP.SendMessage
{
    /// <summary>
    /// 单条RTX信息接收
    /// </summary>
    public class SendEmailMessage : ISendMessage
    {
        #region 公共函数

        public string Send(string fromSys, string target, string msTitle, string msContent, string targetTime = "", string priority = "")
        {
            MsgServiceReference.ReceiveServerClient msgClient = new MsgServiceReference.ReceiveServerClient();
            string result = msgClient.SetEmailInfo(fromSys, target, msTitle, msContent, targetTime, priority);
            return result;
        }

        #endregion
    }
}
